﻿using System;
using System.Collections.Generic;
using System.Text;
using Com.AAS.Common.Manager;

namespace Com.AAS.Toolbox.DataMirror.Server.Handler.Impl
{
    class FileSystemLogHandlerImpl : BaseHandlerImpl, FileSystemLogHandler
    {
        #region FileSystemLogHandler 成员

        public void AuditLog(MonitorEvent e)
        {
            if (e.HasLogData)
            {
                Console.WriteLine(e.LogData);
                // 日志推送 
                NoticeMananger.Instance.Registor("FILE_SYSTEM_LOG").OnProducter(new Object[]{ e.LogData });
            }
        }

        #endregion
    }
}
